<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link href="stylesheets/style.css" rel="stylesheet" type="text/css" />
<link href="stylesheets/winter.css" rel="stylesheet" type="text/css"/>

<!-- Loading Calendar JavaScript files -->
    <script type="text/javascript" src="js/zapatec.js"></script>
    <script type="text/javascript" src="js/calendar.js"></script>
<!-- Loading language definition file -->
    <script type="text/javascript" src="js/calendar-en.js"></script>
    
<div id="joint_c1">
				<div id="listline_r">
					<div id="line_list">
					<span class="bx_tit"><img src="images/icon_6.gif" align="absmiddle" style="padding:0px 5px" />
					Wishes
					<div align="right" > <a href="<c:url value="/wishesentry.html">Send Your Wishes</c:url>"><img src="images/mail_new.gif" border="0" align="absmiddle" /> <c:out value="Send Your Wishes"></c:out></a></div>
					</span>
					</div>
				</div>

				<c:forEach var="wishes" items="${wishesList}" varStatus="status">
					<c:if test="${status.index < 10}">
						
						<div id="listline_r">
							<div id="wihse_c1">
								<div class="bxname" id="wihsec1_r"><B> ${wishes.subject} </B></div>
								<div id="wihsename_r">
									<div id="wishesname_bx">
										<div id="wishesname_r" align="left"><I><B>${wishes.fullnameWhomTo}</B></I></div>
									</div>
								</div>
								<div id="wihseimg_r">
									<div id="wihse_bx">
										<div id="wihsebx_r">																
											<img src="wishesImageContent.html?id=${wishes.id}" border="0" class="wihse_line" />
										</div>
									</div>
								</div>
							</div>
	
	
							<div id="wihse_c2">
								<div class="bxname" id="wihsec2_r"><div align="right">${wishes.publishDateString}</div></div>
								<div class="content_txt" id="wihsec2_r"><BR>${wishes.message}</div>
								<div class="bx_tit" id="wihsec2_r"><I> <BR><BR> ${wishes.fullnameWhoIs} </I><BR>  </div>
								<div class="content_txt" id="wihsec2_r">${wishes.nativePlace}.</div>
							</div>
						</div>
									
						<div id="listline_r">
							<table border="0" cellpadding="0" cellspacing="0" width="100%">
								<tbody><tr>
									<td bgcolor="#cccccc" height="2" width="30%"></td>
									<td bgcolor="#006699" height="2" width="40%"></td>
									<td bgcolor="#cccccc" height="2" width="30%"></td>
									</tr>
								</tbody>
							</table>
						</div>
					</c:if>
				</c:forEach>
</div>